<%@ page language="java" contentType="text/html; charset=UTF-8"
	pageEncoding="UTF-8" isELIgnored="false"%>
<%@ include file="/WEB-INF/common/head.jsp"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%>
<!DOCTYPE html>
<html>
	<head>
		<meta charset="UTF-8">
		<title>写信</title>
		<meta http-equiv="X-UA-Compatible" content="IE=edge">
		<meta name="viewport" content="width=device-width, initial-scale=1">
		<link rel="stylesheet" href="${resource }/css/bootstrap.css" />
		<script type="text/javascript" src="${resource }/js/jquery-2.1.1.min.js"></script>
		<script type="text/javascript" src="${resource }/js/bootstrap.min.js"></script>
	</head>
	<body>
		<div class="row wrapper border-bottom white-bg page-heading">
			<div class="col-sm-4">
				<h2>站内信</h2>
				<ol class="breadcrumb">
					<li>
						<a href="tomain.do">主页</a>
					</li>
					<li>
						<strong>我的来信</strong>
					</li>
				</ol>
			</div>
		</div>
		
		<div class="form-group">
			<label class="col-sm-2 control-label" style="text-align: center;">标题</label>
			
				<strong style="margin-bottom: 15px;">${mail.mailTitle }</strong>
			
		</div>
		<div style="margin-top: 30px;">
			<div class="form-group">
				<label class="col-sm-2 control-label" style="text-align: center;">收件人</label>
				
				<p>${mail.receiveName }</p>
			</div>
		</div>
		<div style="margin-top: 30px;">
			<div class="form-group">
				<label class="col-sm-2 control-label" style="text-align: center;">发件人</label>
				<p>${mail.sendName }</p>
			</div>
		</div>
		<div class="form-group">
			<label class="col-sm-2 control-label" style="text-align: center;">内容</label>
			<p>${mail.mailInfo }</p>
		</div>
		<form action="reply.do?receiveId=${mail.sendId }" method="post">
			<div class="form-group">
				<label class="col-sm-2 control-label" style="text-align: center;">回复内容</label>
				<textarea id="editor_id" name="mailInfo" style="width:700px;height:250px;">
					
				</textarea>
			</div>
			<div class="form-group">
				<div class="col-sm-4 col-sm-offset-2" style="margin-bottom: 20px;">
					<button class="btn btn-primary" type="submit">回复</button>
				</div>
			</div>
		</form>
	</body>
</html>